package demo6;

import org.springframework.stereotype.Component;


public class Student {
   private static Student instance =new Student();
    private Student() {

    }
    public static Student getInstance() {
        return  instance;
    }
}
